package com.grape.transaction.entity;

import lombok.Data;

import java.io.Serializable;

@Data
public class MessageEntity implements Serializable {
    private Integer id;
    /**
     * 业务id
     */
    private String bizId;
    /**
     * 业务类型
     */
    private String bizType;
    /**
     * 业务数据
     */
    private String bizData;
    /**
     * 状态
     */
    private int status;

    public MessageEntity(String bizId, String bizType, String bizData, int status) {
        super();
        this.bizId = bizId;
        this.bizType = bizType;
        this.bizData = bizData;
        this.status = status;
    }
}
